package com.jboost.hyk.clazz.mapper;

import java.util.List;

import com.jboost.hyk.common.constant.ClassStatusEnum;
import org.apache.ibatis.annotations.Param;
import com.jboost.hyk.clazz.entity.HykClass;
import com.baomidou.mybatisplus.core.mapper.BaseMapper;

/**
 * @Description: 备授课
 * @Author: cxn
 * @Date:   2022-11-29
 * @Version: V1.0
 */
public interface HykClassMapper extends BaseMapper<HykClass> {

    void setLectureCount(String classId, int count);

    void subStudentCountByIds(@Param("classIds") List<String> classIds);

    Integer countByStudent(@Param("studentId") String studentId, @Param("statusList") List<String> statusList);
}
